package com.heima.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.user.pojos.ApUser;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.List;

public interface ApUserPhoneMapper extends BaseMapper<ApUser> {
    @Select("SELECT * FROM ap_user WHERE phone=#{phone}")
    ApUser findByPhone(@Param("phone") String phone);

}
